<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
	<script type="text/javascript" src="/js/util.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var getforge_item_dataJsonListUrl = "/forge_item_data/getJsonList/";
$(document).ready(function() {
	startMasker();
	$.ajax({
		type: "GET",
		url: getforge_item_dataJsonListUrl,
		data: "",
		dataType: "json",
		success: function(data) {
			if(data.code > 0) {
				var resultList = data.result;
				var renderHtml = "[<br/>";
				for(var i=0;i<resultList.length;i++) {
					var result = resultList[i];
					$("#forge_item_dataId").html(result.forge_item_dataId);
					$("#deployId").html(result.deployId);
					$("#count").html(result.count);					$("#min").html(result.min);					$("#max").html(result.max);					$("#gold").html(result.gold);										
					renderHtml = renderHtml + $("#tpl_forge_item_data").html();
					if(i < resultList.length - 1) {
						renderHtml = renderHtml + ","
					}
				}
				renderHtml = renderHtml + "]<br/>";
				$("#forge_item_data_info").html(renderHtml);
				stopMasker();
			}else {
				errDialog(data.message);
			}
		}
});
});

</script>
<body>
<div class="json" id="forge_item_data_info">

</div>
<div style="display:none" id="tpl_forge_item_data">
<div class="json">
{<br/>
<span class="jsonkey">forge_item_dataId:</span><span id="forge_item_dataId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">count:</span><span id="count" class="jsonvalue"></span>,<br/>
<span class="jsonkey">min:</span><span id="min" class="jsonvalue"></span>,<br/>
<span class="jsonkey">max:</span><span id="max" class="jsonvalue"></span>,<br/>
<span class="jsonkey">gold:</span><span id="gold" class="jsonvalue"></span><br/>
</br>
}
</div>
</div>
<div class="maskerContent" id="framemasker" name="framemasker">
	<iframe class="maskframe" src="/pages/core/Masker.html"></iframe>
</div>
</body>